@extends('welcome')
<link rel="stylesheet" href="/Home/luntan/liebiao.css" />
@section('titletitle','商城论坛--优品惠')
@section('zhong_content')
<div class="clear"></div>
<div class="d3">
  <div class="d31"></div>
  <div class="d32">&gt;商城论坛&gt;{{$part->partname}}&gt;{{$section->sectionname}}</div>
</div>
<div class="clear"></div>
<div class="d5">
  <a href="/home/luntan/post/{{$section->id}}" target="_blank"><div class="d51"></div></a>
</div>
<div class="clear"></div>
<!--正文部分 start-->
<div id="main">
  <table width="100%" cellspacing="0">
    <tr class="f1">
      <td width="10%">&nbsp;发帖标题</td>
      <td width="50%"></td>
      <td width="15%">作者</td>
      <td width="25%">发贴时间</td>
    </tr>
    @foreach($posts as $k=>$v)
    @foreach($user as $kk=>$vv)
    @if($vv->id == $v->uid)
    <tr class="f2">
      <td colspan="2">&nbsp;<a href="/home/luntan/xiangqing/{{$v->id}}">{{$v->title}}</a></td>
      <td>{{$vv->username}}</td>
      <td><?php echo date('Y-m-d H:i:s',$v->ptime);?></td>
    </tr>
    @endif
    @endforeach
    @endforeach
  </table>
</div>
<!--正文部分 end-->
<div class="clear"></div>
@endsection